local SKIN = {}

SKIN.Background = Color (40, 75, 125, 200)
SKIN.Outline = Color (20, 30, 60, 200)
SKIN.TitleFont = Font( "SF TransRobotics", 30 )

function SKIN:PaintFrame( panel )
	local w, h = panel:GetWide(), panel:GetTall()
	
	// Background.
	local b = self.Background
	surface.SetDrawColor( b.r, b.g, b.b, b.a )
	surface.DrawRect( 0, 0, w, h )
	
	// Borders.
	local o = self.Outline
	surface.SetDrawColor( o.r, o.g, o.b, o.a )
	surface.DrawOutlinedRect( 0, 0, w, h )
end

function SKIN:LayoutFrame( panel )
	local w, h = panel:GetWide(), panel:GetTall()
	
	panel.btnClose:SetPos( w - 19, 3 )
	panel.btnClose:SetSize( 18, 18 )
	
	panel.lblTitle:SetFont( self.TitleFont )
	panel.lblTitle:SetTextColor( self.Outline )
	panel.lblTitle:SetPos( 10, 5 )
	panel.lblTitle:SetSize( w - 20, 30 )
end

SKIN.PrintName 		= "Incursion"
SKIN.Author 		= "RabidToaster"
SKIN.DermaVersion	= 1
derma.DefineSkin( "incursion", "Incursion themed.", SKIN )